package protocol;

public class FormatException extends Exception {
	private static final long serialVersionUID = 1L;
	String incorrectString;
	
	public FormatException(String incorrectString) {
		this.incorrectString = incorrectString;
	}
	
	@Override
	public String getMessage() {
		return "String " + incorrectString + " is not properly formatted.";
	}
}
